import request from "@/utils/request";

// 查询转正列表
export function listOfficial(data,pageNum,pageSize) {
  return request({
    url: "/module/employee/official/list?pageNum=" + pageNum + "&pageSize=" + pageSize,
    method: "post",
    data: data,
  });
}

// 查询转正详细
export function getOfficial(officialId) {
  return request({
    url: "/module/employee/official/" + officialId,
    method: "get",
  });
}

// 批量审核
export function auditOfficial(officialIds) {
  return request({
    url: "/module/employee/official/audit/" + officialIds,
    method: "put",
  });
}
